package Messages;

import java.io.Serializable;
/**
 * Create a folder message in client
 * @author Guy & Liel
 *
 */
public class CreateFolderMsg implements Msg,Serializable
{

	
	private static final long serialVersionUID = 1L;
	private String folderName;
	
	/**
	 * Constructor of create folder message
	 * @param folderName
	 */
	public CreateFolderMsg(String folderName) {
		super();
		this.folderName = folderName;
	}

	/**
	 * get folder name
	 * @return the folder name
	 */
	public String getFolderName() {
		return folderName;
	}


	@Override
	/**
	 * get message type
	 */
	public MsgType getType() {
		// TODO Auto-generated method stub
		return MsgType.CREATE_FOLDER;
	}
	

}
